home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / demos / 74 / general / drives.c < prev    next >
Encoding:
C/C++ Source or Header  |  1986-11-21  |  312 b   |  17 lines

  1. #include <osbind.h>
  2.  
  3. main()
  4. {
  5. long ssp;
  6.  
  7. ssp = Super(0L);
  8.  
  9. /* the following sets up for two "real" drives.  if you have only 1  */
  10. /* drive, simply change the #2 to #1 in the move.w instruction below */
  11. asm {
  12.     move.w #2,0x4a6        /* nflops=2 */
  13.     ori.l  #3,0x4c2        /* drvmap|=3 */
  14.     }
  15. Super(ssp);
  16. }
  17.